package com.cse587.gae.dto;


import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;
import org.apache.commons.lang3.builder.ToStringBuilder;

@XmlRootElement(name="country")
public class CountryDto {
	private String countryName;
	private String iso3Code;
	private String uncode;
	private String capital;
	private double maxLong;
	private double minLong;
	private double maxLat;
	private double minLat;
	private double capitalLat;
	private double capitalLong;
	
	private List<String> border;
	
	
	public CountryDto(){
		border = new ArrayList<String>();
	}
	
	

	public CountryDto(String countryName, String iso3Code, String uncode,
			String capital, double maxLong, double minLong, double maxLat,
			double minLat) {
		super();
		this.countryName = countryName;
		this.iso3Code = iso3Code;
		this.uncode = uncode;
		this.capital = capital;
		this.maxLong = maxLong;
		this.minLong = minLong;
		this.maxLat = maxLat;
		this.minLat = minLat;
	}



	public String getCountryName() {
		return countryName;
	}
	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}
	public String getIso3Code() {
		return iso3Code;
	}
	public void setIso3Code(String iso3Code) {
		this.iso3Code = iso3Code;
	}
	
	public String getUncode() {
		return uncode;
	}
	public void setUncode(String uncode) {
		this.uncode = uncode;
	}
	public String getCapital() {
		return capital;
	}
	public void setCapital(String capital) {
		this.capital = capital;
	}
	public List<String> getBorder() {
		return border;
	}
	public void setBorder(List<String> border) {
		this.border = border;
	}
	public double getMaxLat() {
		return maxLat;
	}

	public void setMaxLat(double maxLat) {
		this.maxLat = maxLat;
	}

	public double getMaxLong() {
		return maxLong;
	}



	public void setMaxLong(double maxLong) {
		this.maxLong = maxLong;
	}



	public double getMinLong() {
		return minLong;
	}



	public void setMinLong(double minLong) {
		this.minLong = minLong;
	}



	public double getMinLat() {
		return minLat;
	}



	public void setMinLat(double minLat) {
		this.minLat = minLat;
	}



	public double getCapitalLong() {
		return capitalLong;
	}



	public void setCapitalLong(double capitalLong) {
		this.capitalLong = capitalLong;
	}



	public double getCapitalLat() {
		return capitalLat;
	}



	public void setCapitalLat(double capitalLat) {
		this.capitalLat = capitalLat;
	}



	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
